#ifndef USER_H
#define USER_H

#include <QString>
#include "Protocol/Protocol.h"

class User
{
	QString _name;
	int _id;
	UserState _state;

public:
	User();
	User(int id, QString name = "");

	QString name();
	int id();
	UserState state();
	void setName(QString name);
	void setId(int id);
	void setState(UserState state);
};

#endif // USER_H
